import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class IntrinsicHeightDemo extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar:  AppBar(
        title: Text('IntrinsicHeight'),
        centerTitle: true,
      ),
      body: IntrinsicHeight(
        child: Row(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: [
            Container(
              width: 50,
              color: Colors.yellow,
            ),
            Container(
              width: 50,
              height: 100,
              color: Colors.blue,
            ),
            Container(
              width: 50,
              color: Colors.black,
            ),
          ],
        ),
      ),
    );
  }


}